package main

import (
	"gitee.com/yanxinfire/geektime-week2-error/apis"
	"github.com/go-kratos/kratos/v2"
	"log"
)

func main() {
	app := kratos.New(
		kratos.Name("srv-w2-error"),
		kratos.Server(
			apis.HttpSrv,
		),
	)
	if err := app.Run(); err != nil {
		log.Fatal(err)
	}
}
